package com.bdzl.biz.service;

import com.bdzl.pub.entity.loan.OrderUsevehDO;

import java.util.List;
import java.util.Map;

/**
 * 融资租赁订单实际用车人信息表
 *
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-05-11 15:23:42
 */
public interface OrderUsevehService {

	OrderUsevehDO get(Integer uvId);

	List<OrderUsevehDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(OrderUsevehDO orderUseveh);

	int update(OrderUsevehDO orderUseveh);

	int remove(Integer uvId);

	int batchRemove(Integer[] uvIds);
	/**
	* @Description: TODO 根据订单号查询
	* @param uvOdr 订单号
	* @return: com.bdzl.pub.entity.loan.OrderUsevehDO
	* @Author: Ming
	* @Date: 2021/5/21 11:52
	*/
	OrderUsevehDO getByUvOdr(String uvOdr);
	/**
	* @Description: TODO 判断担保人是否为实际用车人
	* @param relOdrNo 订单号
	* @param relCardid 身份证号id
	* @return: boolean
	* @Author: Ming
	* @Date: 2021/5/21 18:40
	*/
	boolean judgmentCarUser(String relOdrNo,String relCardid);
}
